import request from '@/http/index.js'
// 获取分类列表的必传图片列表
export function children(data) {
	return request({
		url: '/category/children',
		method: 'GET',
		data
	})
}
//获取专家列表
export function expertList(data) {
	return request({
		url: '/expert/list',
		method: 'GET',
		data,
    needLoading: true
	})
}
//发布鉴定任务
export function create(data) {
	return request({
		url: '/task/create',
		method: 'POST',
		data,
    needLoading: true
	})
}

//鉴定任务列表
export function taskList(data) {
	return request({
		url: '/task/list',
		method: 'GET',
		data
	})
}
//任务详情
export function taskIndex(data) {
	return request({
		url: '/task/index',
		method: 'GET',
		data,
    needLoading: true
	})
}
//获取鉴定任务详情
export function taskInfo(data) {
	return request({
		url: '/task/info',
		method: 'GET',
		data,
    needLoading: true
	})
}
//提交鉴定结果
export function taskSubmit(data) {
	return request({
		url: '/task/submit',
		method: 'POST',
		data,
    needLoading: true
	})
}
//提交我想要
export function intention(data) {
	return request({
		url: '/task/intention',
		method: 'POST',
		data,
    needLoading: true
	})
}
//发起支付
export function submitPay(data) {
	return request({
		url: '/order/submit',
		method: 'POST',
		data,
    needLoading: true
	})
}